<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微信引导</title>
    <!-- 引入样式 -->
    <link href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.14.0/theme-chalk/index.css" rel="stylesheet">
    <!-- 引入组件库 -->
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/element-ui/2.14.0/index.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
</head>
<body>
    <div id="content">
        <h4>CodeShare需要最新的特性，微信电脑端默认浏览器不支持。</h4>
        <h4>请使用下列方式去打开CodeShare网站，更多精彩等你来~</h4>
        <el-card class="box-card">
            <img src="/img/wechat.png" />
        </el-card>
        <h4>{{host}}</h4>
    </div>
</body>
<style>
    .box-card{
        max-width: 500px;
    }
    #content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 90vh;
    }
</style>
<script>
    var app = new Vue({
        el: '#content',
        data: {
            host:""
        },
        mounted:function(){
            this.host='主站地址：'+window.location.host
        },
        methods: {
           
        }
    })
</script>
</html>